<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>数据绑定</title>
		<script src="../js/vue.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body>
		<div id="root">
			单选数据绑定: <input type="text" v-bind:value="name" />
			<br>
			双选数据绑定: <input type="text" v-model:value="name" />
		</div>
	</body>
	<script type="text/javascript">
		Vue.config.productionTip = false;
		new Vue({
			el:"#root",
			data:{
				name:"尚硅谷"
			}
		});
	</script>
</html>
